<template>
    <div>
        hello vite-vue2 {{ aa }}
        <router-view></router-view>
    </div>
</template>

<script lang="ts" setup>
import { ref } from 'vue';
import { RouterView } from 'vue-router';

let aa = ref('aa11')
/**
 * @description: 
 * @param {*} num1
 * @param {*} num2
 * @return {*}
 */
const ADf = (num1: number, num2: number) => {
    if (!num1) {
        num1 = 1
    }
    if (!num2) {
        num2 = 2
    }
    return num1 + num2
}

ADf(22,33)
</script>
